-- GENERATED SPELL FOR [Vargul Plaguetalon] --


function spell0_29894(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(55079,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29894', 582, 1)
end

function Sorts_29894(pUnit, Event)
local choix_sorts_29894 = math.random(0, 0)
if choix_sorts_29894 == 0 then
pUnit:RegisterEvent('spell0_29894', 1, 1)
end
end

function mob29894_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29894', math.random(1500, 3000), 1)
end

function mob29894_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29894_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29894_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29894, 1, 'mob29894_Action')
RegisterUnitEvent(29894, 2, 'mob29894_Leave')
RegisterUnitEvent(29894, 3, 'mob29894_Kill')
RegisterUnitEvent(29894, 4, 'mob29894_Die')
